package com.meimeixia.pattern.singleton.demo5;

/**
 * @author liayun
 * @create 2021-05-29 19:21
 */
public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.getInstance();
        Singleton instance1 = Singleton.getInstance();
        System.out.println(instance == instance1);//true
    }
}
